package com.app.service;

import com.app.model.TaskModel;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface TaskService {
    IPage<TaskModel> selectTaskList(String name, Integer page , Integer limit, Integer personId, Integer sortType);

    void update(TaskModel taskModel);

    void insert(TaskModel taskModel);

    void delete(Integer id);

    List<TaskModel> selectAll(Integer departmentId);
}
